
<template>
  <div class="recommend">
    <div v-for="item in recommends" class="recommend-item">
      <a :href="item.linke">
        <img :src="item.image">
        <div>{{item.title}}</div>
      </a>
    </div>
  </div>
</template>

<script>
  export default {
    name: "Recommend",
    props: {
      recommends: {
        type: Array,
      }
    }
  }
</script>

<style scoped>
  .recommend{
    display: flex;
    width:100%;
    padding: 15px 0 35px ;
    text-align: center;
    font-size: 12px;
    border-bottom: 10px solid #e6e6e6;
  }
  .recommend-item{
    flex: 1;
  }
  .recommend-item a div{
    /*text-align: center;*/
  }
  .recommend-item img{
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
  }
</style>